package com.daxt.model.service.base.param;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "编辑用户", description = "编辑用户")
public class EditUser implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id", name = "id")
	private Long id;

	@ApiModelProperty(value = "账号", name = "username")
	private String username;
	
	@ApiModelProperty(value = "密码", name = "password")
	private String password;
	
	@ApiModelProperty(value = "姓名", name = "realName")
	private String realName;
	
	@ApiModelProperty(value = "邮箱", name = "email")
	private String email;
	
	@ApiModelProperty(value = "头像", name = "headUrl")
	private String headUrl;
	
	@ApiModelProperty(value = "手机号", name = "mobile")
	private String mobile;
	
	@ApiModelProperty(value = "状态", name = "state")
	private String  state;
	
	@ApiModelProperty(value = "租户id", name = "tenantId")
	private String tenantId;
	
	private String company;
	
	@ApiModelProperty(value = "角色id", name = "roles")
	private List<String> roles;
	
	@ApiModelProperty(value = "fondsId（可借阅全宗）", name = "fonds")
	private List<String> fonds;

	@ApiModelProperty(value = "部门集", name = "depts")
	private List<String> depts;

	@ApiModelProperty(value = "岗位id集", name = "posts")
	private List<String> posts;
}
